﻿
/**
 * AUTO GENERATE BY UI EDITOR.
 * WARNING: DO NOT MODIFY THIS FILE,MAY CAUSE CODE LOST.
 * ATTENTION: onStart 等UI脚本自带函数不可改写为异步执行，有需求的异步逻辑请使用函数封装，通过函数接口在内部使用
 * UI: UI/MainUI.ui
*/



@UIBind('UI/MainUI.ui')
export default class MainUI_Generate extends UIScript {
		private con_power_Internal: mw.Canvas
	public get con_power(): mw.Canvas {
		if(!this.con_power_Internal&&this.uiWidgetBase) {
			this.con_power_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_power') as mw.Canvas
		}
		return this.con_power_Internal
	}
	private txt_power_Internal: mw.TextBlock
	public get txt_power(): mw.TextBlock {
		if(!this.txt_power_Internal&&this.uiWidgetBase) {
			this.txt_power_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_power/txt_power') as mw.TextBlock
		}
		return this.txt_power_Internal
	}
	private con_money_Internal: mw.Canvas
	public get con_money(): mw.Canvas {
		if(!this.con_money_Internal&&this.uiWidgetBase) {
			this.con_money_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_money') as mw.Canvas
		}
		return this.con_money_Internal
	}
	private img_money_icon_Internal: mw.Image
	public get img_money_icon(): mw.Image {
		if(!this.img_money_icon_Internal&&this.uiWidgetBase) {
			this.img_money_icon_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_money/img_money_icon') as mw.Image
		}
		return this.img_money_icon_Internal
	}
	private txt_money_Internal: mw.TextBlock
	public get txt_money(): mw.TextBlock {
		if(!this.txt_money_Internal&&this.uiWidgetBase) {
			this.txt_money_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_money/txt_money') as mw.TextBlock
		}
		return this.txt_money_Internal
	}
	private con_throw_Internal: mw.Canvas
	public get con_throw(): mw.Canvas {
		if(!this.con_throw_Internal&&this.uiWidgetBase) {
			this.con_throw_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_throw') as mw.Canvas
		}
		return this.con_throw_Internal
	}
	private btn_throw_Internal: mw.Button
	public get btn_throw(): mw.Button {
		if(!this.btn_throw_Internal&&this.uiWidgetBase) {
			this.btn_throw_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_throw/btn_throw') as mw.Button
		}
		return this.btn_throw_Internal
	}
	private con_bag_Internal: mw.Canvas
	public get con_bag(): mw.Canvas {
		if(!this.con_bag_Internal&&this.uiWidgetBase) {
			this.con_bag_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_bag') as mw.Canvas
		}
		return this.con_bag_Internal
	}
	private btn_bag_Internal: mw.Button
	public get btn_bag(): mw.Button {
		if(!this.btn_bag_Internal&&this.uiWidgetBase) {
			this.btn_bag_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_bag/btn_bag') as mw.Button
		}
		return this.btn_bag_Internal
	}


 
	/**
	* onStart 之前触发一次
	*/
	protected onAwake() {
	}
	 
}
 